class Hero:
  def __init__(self, name, blood, attack):
    self.__name = name
    self.blood = blood
    self.attack = attack
    self.__skill_name = ""

  def get_name(self):
    return self.__name

  def get_skill_name(self):
    return self.__skill_name

  def set_skill_name(self, skill_name):
    self.__skill_name = skill_name

  def skill(self, skill_name):
    pass

  def be_attacked(self, hero):
    return self.blood - hero.skill(hero.__skill_name)

  def audio(self):
    pass


class Mage(Hero):
  def __init__(self, name, blood, attack, magic):
    super().__init__(name, blood, attack)
    self.__magic = magic
    self.__skill_name = ""

  def skill(self, skill_name):
    self.set_skill_name(skill_name)
    return self.__magic + self.attack

  def audio(self):
    print(f"{self.get_name()}：“夏亡秋生，枫落人寂”")


m1 = Mage("季", 15000, 3000, 2000)
h1 = Hero("角色1", 20000, 6000)
m1.skill('四时一隅·秋')
m1.audio()
print(f"{m1.get_name()}使用技能{m1.get_skill_name()}，对{h1.get_name()}造成{m1.skill('四时一隅·秋')}点伤害。")
print(f"该回合结束后{h1.get_name()}剩余血量为{h1.be_attacked(m1)}")
